Parse layout properties
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 4 Mar 2019 13:15:19 +0000 (13:15 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 26 Mar 2019 00:11:27 +0000 (00:11 +0000)
commit630442f31c3fcbdb191997f72aea9228a232fb58
tree654ca6b88feeeec7b163d3145a918191c9bd03ca
parentd6dfa41f1079db2bfb111a551ffab4f86c3ea816
Parse layout properties

If a widget has a LayoutManager instance, then we want to parse layout
properties in UI description files; the grammar is similar to packing
properties in GtkContainer:

    <child>
      <object ...>
        <property name="...">...</property>
        <layout>
          <property name="pname">value</property>
        </layout>
      </object>
    </child>

The properties are applied after a child has been added to its parent,
to the parent's layout manager property should be set.
gtk/gtkwidget.c